/**
 * todo
 *
 * @author songZiHao
 * @version 1.0.0
 * @ClassName binaryUtils.java
 * @createTime 2023年02月28日 16:04:00
 */
public class binaryUtils {
	public static Integer sumBinaryDiffer(int a, int b) {
		int num = a ^ b;
		int diff = 0;
		while (num != 0) {
			//清除最后一个1
			num = num & (num - 1);
			diff++;
		}
		return diff;
	}
}
